gtk4.git
11 years agoFix build of resource files on OS-X
John Ralls [Sun, 3 Aug 2014 00:55:41 +0000 (17:55 -0700)]
Fix build of resource files on OS-X

OS-X's 'echo' command does not have a -e option, so it was included in the files.

11 years agoAdd gtk_application_get_actions_for_accel()
Ryan Lortie [Sun, 3 Aug 2014 18:27:51 +0000 (20:27 +0200)]
Add gtk_application_get_actions_for_accel()

This counterpart to gtk_application_get_accels_for_action() lets you
find out if a particular accelerator has one or more actions associated
with it. This might be useful from an accelerator editor or plugin
system to prevent the the installation of conflicting accelerators.

https://bugzilla.gnome.org/show_bug.cgi?id=721367

11 years agoGtkTreeView: Avoid deprecation warnings
Matthias Clasen [Sun, 3 Aug 2014 18:10:13 +0000 (20:10 +0200)]
GtkTreeView: Avoid deprecation warnings

11 years agogtk/Makefile.am: fix gtk-encode-symbolic-svg build for jhbuild
Pietro Gagliardi [Sun, 3 Aug 2014 16:14:28 +0000 (12:14 -0400)]
gtk/Makefile.am: fix gtk-encode-symbolic-svg build for jhbuild

Currently, jhbuild-ing GTK+ on Ubuntu 14.04 LTS and gcc 4.8.2 errors out with
/usr/bin/ld: encodesymbolic.o: undefined reference to symbol 'g_file_new_for_path'
/opt/gnome/lib/libgio-2.0.so.0: error adding symbols: DSO missing from command line
when trying to build gtk-encode-symbolic-svg. This is because $(GTK_DEP_LIBS) isn't defined in $(gtk_encode_symbolic_svg_LDADD) in gtk/Makefile.am. This patch should fix that.

Thanks to b4n and gregier in irc.gimp.net/#gtk+ for help.

https://bugzilla.gnome.org/show_bug.cgi?id=734201

11 years agotextview: Avoid relocating adjustments on ::size-allocate while these are animating
Carlos Garnacho [Mon, 21 Jul 2014 19:16:32 +0000 (21:16 +0200)]
textview: Avoid relocating adjustments on ::size-allocate while these are animating

An animation may be scheduled while the textview content changed in size, so the resize
queued would just unset the animation and set the adjusments with a current value,
defeating gtk_text_view_scroll_to_iter(). In this case, just avoid the adjustment change,
as there is a target value on the way.

https://bugzilla.gnome.org/show_bug.cgi?id=733406

11 years agoUpdated POTFILES.in
Piotr Drąg [Sun, 3 Aug 2014 18:11:09 +0000 (20:11 +0200)]
Updated POTFILES.in

11 years agowindow: Update popover positions on ::size-allocate
Carlos Garnacho [Fri, 1 Aug 2014 15:38:42 +0000 (17:38 +0200)]
window: Update popover positions on ::size-allocate

Popovers may get relocations optimized away if only x/y changed
in the GtkAllocation. So make sure the toplevel updates popover
positions on all situations.

https://bugzilla.gnome.org/show_bug.cgi?id=729140

11 years agoAdd missing include for setlocale
Paolo Borelli [Sun, 3 Aug 2014 09:53:56 +0000 (11:53 +0200)]
Add missing include for setlocale

11 years agoBug 729924 - Crash trying to print in OSX
John Ralls [Mon, 26 May 2014 00:01:24 +0000 (17:01 -0700)]
Bug 729924 - Crash trying to print in OSX

We should only use the PageSize option from the ppd if it
actually exists.

11 years agowidget-factory: Add a linked combobox example
Matthias Clasen [Sun, 3 Aug 2014 09:06:18 +0000 (11:06 +0200)]
widget-factory: Add a linked combobox example

This came up in https://bugzilla.gnome.org/show_bug.cgi?id=733979

11 years agoGtkSwitch: implement animation
Paolo Borelli [Sun, 3 Aug 2014 08:20:38 +0000 (10:20 +0200)]
GtkSwitch: implement animation

11 years agoGtkSwitch: remove unused assignment
Paolo Borelli [Sun, 3 Aug 2014 08:17:49 +0000 (10:17 +0200)]
GtkSwitch: remove unused assignment

11 years agoEnsure an image-missing icon is available
Matthias Clasen [Sun, 3 Aug 2014 08:02:52 +0000 (10:02 +0200)]
Ensure an image-missing icon is available

It is bad if the image that is used as a fallback for missing
images goes missing itself, so include it as a resource. This
way, it will always be available.

11 years agoEmbed manifest into gtk-update-icon-cache.exe
Руслан Ижбулатов [Thu, 31 Jul 2014 10:05:29 +0000 (10:05 +0000)]
Embed manifest into gtk-update-icon-cache.exe

This way it doesn't need to be installed alongside it.

https://bugzilla.gnome.org/show_bug.cgi?id=705054

11 years agotreeview: Deprecated rules-hint
Emmanuele Bassi [Thu, 17 Jul 2014 11:53:01 +0000 (12:53 +0100)]
treeview: Deprecated rules-hint

The rules-hint property has always been a fairly bad application API, as
it set some wrong expectations for the developers; deferring to the
theme makes it impossible to design application reliably, and if this is
a usability setting we should either impose this setting on every theme,
or simply drop it.

Our own default theme does not honour the zebra striping, which makes
this function even more questionable.

In practice, usability studies on zebra striping have demonstrated that
alternating colors on a list it improves readability just as much as
clear ruling between rows, or by visually differentiating the selected
row. Zebra striping improves readability (or, at least, it does not
hinder it) on static displays, like a table on paper or a document; on a
dynamic display, like an application's UI, there are different
strategies that yield similar, if not better, results.

https://bugzilla.gnome.org/show_bug.cgi?id=733312

11 years agolistboxrowaccessible: Avoid assertion failure
Timm Bäder [Sat, 26 Jul 2014 11:38:55 +0000 (13:38 +0200)]
listboxrowaccessible: Avoid assertion failure

The next call to gtk_list_box_get_selection_mode just expected the
GtkListBoxRow's parent to be a GtkListBox and failed when the row was
added to something other than a GtkListBox.

https://bugzilla.gnome.org/show_bug.cgi?id=733782

11 years agoAdd a man page for gtk-encode-symbolic-svg
Matthias Clasen [Sun, 3 Aug 2014 00:45:16 +0000 (02:45 +0200)]
Add a man page for gtk-encode-symbolic-svg

11 years agoicon-theme: Support recolorable .symbolic.png files
Alexander Larsson [Wed, 30 Jul 2014 16:05:48 +0000 (18:05 +0200)]
icon-theme: Support recolorable .symbolic.png files

If an icon theme has a file called "foo-symbolic.symbolic.png" which
was converted from svg using gtk-encode-symbolic-svg we will read
it in an recolor, allowing symbolic icons without using librsvg.

https://bugzilla.gnome.org/show_bug.cgi?id=730450

11 years agoAdd gtk-encode-symbolic-svg
Alexander Larsson [Tue, 20 May 2014 14:03:16 +0000 (16:03 +0200)]
Add gtk-encode-symbolic-svg

This utility loads a symbolic svg at a specified size and
renders a png file in a special format that can be recolored
later.

https://bugzilla.gnome.org/show_bug.cgi?id=730450

11 years agoinspector: Add GtkTreeSelection to the object tree
Matthias Clasen [Sat, 2 Aug 2014 23:28:23 +0000 (01:28 +0200)]
inspector: Add GtkTreeSelection to the object tree

It is not accessible, otherwise.

11 years agowindow: Only avoid queueing resizes if the popover position didn't change
Carlos Garnacho [Fri, 1 Aug 2014 14:50:59 +0000 (16:50 +0200)]
window: Only avoid queueing resizes if the popover position didn't change

If the same position is requested on a popover, it should at least ensure
the window is realized and raised, even if no resizes are queued on the
content. Otherwise other widgets being mapped might raise the windows over
the popover's if its original position is unchanged.

https://bugzilla.gnome.org/show_bug.cgi?id=734129

11 years agogtkcssshadowvalue: Don't double-apply the alpha to shadows
Jasper St. Pierre [Thu, 31 Jul 2014 16:27:46 +0000 (18:27 +0200)]
gtkcssshadowvalue: Don't double-apply the alpha to shadows

It turns out that when we were painting the shadows, we painted the them
with the base color once, which contained the alpha, and then blurred it
and used it as a mask for the fill, which has the fill again.

To fix this, always paint the base surface with full alpha. The existing
code applies the blur conditionally sometimes in weird ways, so the code
shuffling fix may not look correct, but be assured it is. If the blur
happens, the new cr we return has the *default* color applied, which is
fully opaque black, which works perfectly against the A8 surface.

The fallback spinner code needs some modification, since it is
intentionally using the alpha to paint the lobes which are "in the past".
Since we shouldn't be hitting this fallback path very often, we use a
temporary group and paint it with paint_with_alpha, even though it is
slow.

11 years agoSmall comment fixups
Matthias Clasen [Sat, 2 Aug 2014 22:42:48 +0000 (00:42 +0200)]
Small comment fixups

One factual pointed out in the review in
https://bugzilla.gnome.org/show_bug.cgi?id=734053, plus some
formatting nit picks.

11 years agogtkcairoblur: Replace our exponential blur with the box blur from mutter
Jasper St. Pierre [Wed, 30 Jul 2014 10:26:08 +0000 (12:26 +0200)]
gtkcairoblur: Replace our exponential blur with the box blur from mutter

https://bugzilla.gnome.org/show_bug.cgi?id=734053

11 years agoAdd the new debug option to the docs
Matthias Clasen [Sat, 2 Aug 2014 22:23:58 +0000 (00:23 +0200)]
Add the new debug option to the docs

All debug options are supposed to be listed in the "Running and
Debugging" section of the docs.

11 years agoGtkMenuTrackerItem: introduce action debugging
Ryan Lortie [Wed, 30 Jul 2014 10:28:21 +0000 (12:28 +0200)]
GtkMenuTrackerItem: introduce action debugging

Add some action debugging output for GtkMenuTrackerItem as well...

https://bugzilla.gnome.org/show_bug.cgi?id=733965

11 years agoGtkActionHelper: add some debugging output
Ryan Lortie [Wed, 30 Jul 2014 10:00:55 +0000 (12:00 +0200)]
GtkActionHelper: add some debugging output

Introduce a new debug category "actions" and write some messages from
GtkActionHelper about if we can find the actions or not.

We will probably soon want to add some similar messages to
GtkMenuTrackerItem.

https://bugzilla.gnome.org/show_bug.cgi?id=733965

11 years agoRemove a reference to a non-existing function
Matthias Clasen [Sat, 2 Aug 2014 20:04:14 +0000 (22:04 +0200)]
Remove a reference to a non-existing function

11 years agoW32: Don't crash when opacity is set for non-toplevel
Руслан Ижбулатов [Fri, 25 Jul 2014 23:28:31 +0000 (23:28 +0000)]
W32: Don't crash when opacity is set for non-toplevel

X11 backend doesn't, and for good reason - main code body does not check
that the window it sets opacity for is, in fact, toplevel.
Just silently fail to do anything for non-toplevel windows.

https://bugzilla.gnome.org/show_bug.cgi?id=733769

11 years agoUse g_clear_object() shorthand for unref-and-set-to-null
Руслан Ижбулатов [Sat, 2 Aug 2014 05:16:09 +0000 (05:16 +0000)]
Use g_clear_object() shorthand for unref-and-set-to-null

https://bugzilla.gnome.org/show_bug.cgi?id=733766

11 years agoW32: Don't unregister parent window of an embedded widget
Руслан Ижбулатов [Fri, 25 Jul 2014 23:30:20 +0000 (23:30 +0000)]
W32: Don't unregister parent window of an embedded widget

This leads to an assertion failure, because parent window is never registered
in the first place, widget's own GdkWindow is. But that window is unregistered
in a generic fashion by GtkWidget code, so there's nothing for us to do here.

https://bugzilla.gnome.org/show_bug.cgi?id=733766

11 years agoRemove generated gtk-win32.rc from EXTRA_DIST
Руслан Ижбулатов [Fri, 1 Aug 2014 14:02:13 +0000 (14:02 +0000)]
Remove generated gtk-win32.rc from EXTRA_DIST

https://bugzilla.gnome.org/show_bug.cgi?id=733773

11 years agoicon-browser: Redo the icon categorization
Matthias Clasen [Sat, 2 Aug 2014 11:53:04 +0000 (13:53 +0200)]
icon-browser: Redo the icon categorization

Instead of slavishly following the naming spec, group the icons
into categories that are more likely to be useful for application
developers. Based on input from Allan Day and Jakup Steiner.

11 years agoicon-browser: Show category descriptions as tooltips
Matthias Clasen [Sat, 2 Aug 2014 11:55:44 +0000 (13:55 +0200)]
icon-browser: Show category descriptions as tooltips

No better place for them right now.

11 years agoSet initial focus in some dialog tests
Matthias Clasen [Fri, 1 Aug 2014 23:18:57 +0000 (01:18 +0200)]
Set initial focus in some dialog tests

Use the new <initial-focus> element here to confirm that it is
parsed properly and works as expected.

11 years agoGtkWindow: Add a way to declare initial focus in ui files
Matthias Clasen [Sat, 2 Aug 2014 09:35:34 +0000 (11:35 +0200)]
GtkWindow: Add a way to declare initial focus in ui files

With this commit, it is possible to use <initial-focus name="blah">
to declare the initial focus widget for a window.

This is related to
https://bugzilla.gnome.org/show_bug.cgi?id=734033

11 years agoAdd a test for window focus handling
Matthias Clasen [Sat, 2 Aug 2014 09:17:18 +0000 (11:17 +0200)]
Add a test for window focus handling

This is a small test that checks that gtk_window_set/get_focus
behave as expected, regardless of the window being shown or hidden.

11 years agoGtkWindow: Make set_focus work before show
Matthias Clasen [Sat, 2 Aug 2014 09:28:03 +0000 (11:28 +0200)]
GtkWindow: Make set_focus work before show

So far, gtk_window_set_focus just did not work when called on
a hidden window. Change it to record the desired focus widget
for hidden windows, and apply it when the window gets shown.

This is similar to how we tread other window properties that
can't be set before the window is realized, like maximized
or fullscreen.

This is related to
https://bugzilla.gnome.org/show_bug.cgi?id=734033

11 years agoEnsure that print operation is alive until we're done
Руслан Ижбулатов [Fri, 25 Jul 2014 23:33:06 +0000 (23:33 +0000)]
Ensure that print operation is alive until we're done

https://bugzilla.gnome.org/show_bug.cgi?id=733767

11 years agoUpdate Arabic translation
Khaled Hosny [Fri, 1 Aug 2014 00:01:12 +0000 (03:01 +0300)]
Update Arabic translation

11 years agotextiter: don't call g_utf8_prev_char() on start of string
Sébastien Wilmet [Thu, 31 Jul 2014 12:11:49 +0000 (14:11 +0200)]
textiter: don't call g_utf8_prev_char() on start of string

Changes also the "goto finally" with a break. A break is more common.

Another way is to use g_utf8_find_prev_char().

https://bugzilla.gnome.org/show_bug.cgi?id=638709

11 years agoUpdated POTFILES.skip
Piotr Drąg [Thu, 31 Jul 2014 15:52:35 +0000 (17:52 +0200)]
Updated POTFILES.skip

11 years agolabel: Don't clip text shadows
Benjamin Otte [Thu, 31 Jul 2014 14:10:17 +0000 (16:10 +0200)]
label: Don't clip text shadows

The previous code for computing the clip rectangle forgot to respect
the text-shadow CSS property. This is usually not very visible because
text shadows usually don't extend the ink rectangle by very much.

See attached testcase for an example.

11 years agoGDK W32: add environment variable to override system font scaling
Руслан Ижбулатов [Thu, 31 Jul 2014 14:03:00 +0000 (14:03 +0000)]
GDK W32: add environment variable to override system font scaling

Support environment variable GDK_WIN32_FONT_RESOLUTION that can be set to
a desired dpi (72, 96, 130, etc) to override system settings. Useful for
debugging, since changing system font scaling requires the user to log off
and log on again.

https://bugzilla.gnome.org/show_bug.cgi?id=734038

11 years agoGDK W32: support font scaling
Руслан Ижбулатов [Thu, 31 Jul 2014 14:01:56 +0000 (14:01 +0000)]
GDK W32: support font scaling

Respect system font scaling (Control Panel -> Display -> Font Size) and
convey that information to GDK (which then passes it to Pango).

https://bugzilla.gnome.org/show_bug.cgi?id=734038

11 years agocss: Fail animation shorthand parsing properly
Benjamin Otte [Wed, 30 Jul 2014 16:45:15 +0000 (18:45 +0200)]
css: Fail animation shorthand parsing properly

When a number is not a nubmer, don't just crash, exit properly with an
error code.

See attached testcase for an example.

11 years agocss: Don't infloop when parsing broken borders
Benjamin Otte [Wed, 30 Jul 2014 16:23:20 +0000 (18:23 +0200)]
css: Don't infloop when parsing broken borders

There was an infinite loop when parsing invalid text after having parsed
a color in the border shorthand. See attached testcase for an example.

11 years agoGtkImage: Always close the loader
Matthias Clasen [Wed, 30 Jul 2014 22:12:30 +0000 (00:12 +0200)]
GtkImage: Always close the loader

This was causing some tests to fail with a critical.

11 years agoinspector: Make the action editor more useful
Matthias Clasen [Wed, 30 Jul 2014 21:46:13 +0000 (23:46 +0200)]
inspector: Make the action editor more useful

We were not finding the action owner for menuitems, we have to
try harder to walk all the way up to the window.

11 years agoAdd a test for popover accessible parents
Matthias Clasen [Wed, 30 Jul 2014 21:11:17 +0000 (23:11 +0200)]
Add a test for popover accessible parents

This tests the fix in the previous commit.

11 years agoGtkPopover: Properly update a11y parent
Matthias Clasen [Wed, 30 Jul 2014 21:09:51 +0000 (23:09 +0200)]
GtkPopover: Properly update a11y parent

When the relative-to widget changes, update the accessible parent
of the popovers accessible.

https://bugzilla.gnome.org/show_bug.cgi?id=733923

11 years agodoap category core
Olav Vitters [Wed, 30 Jul 2014 13:53:33 +0000 (15:53 +0200)]
doap category core

11 years agoGtkApplication: load gtk/menus-common.ui resource
Ryan Lortie [Tue, 29 Jul 2014 15:29:09 +0000 (17:29 +0200)]
GtkApplication: load gtk/menus-common.ui resource

Allow the app to install a resource called gtk/menus-common.ui which
will always be loaded, regardless of which type of menus we are using.

https://bugzilla.gnome.org/show_bug.cgi?id=733925

11 years agotextbuffer: emit notify signal for the "text" property
Sébastien Wilmet [Sun, 20 Jul 2014 13:44:12 +0000 (15:44 +0200)]
textbuffer: emit notify signal for the "text" property

Although there is the "changed" signal, it is more correct to notify the
"text" property too. It can be useful for a small text view, where the
text is saved e.g. to gsettings with a binding to the text property.

The "text" property includes only the text, not child widgets or images,
so the notify signal is sent too many times (also for child widgets and
images), but it's not a big problem.

https://bugzilla.gnome.org/show_bug.cgi?id=624791

11 years agoicon-browser: Hide the description label when empty
Matthias Clasen [Tue, 29 Jul 2014 12:57:28 +0000 (14:57 +0200)]
icon-browser: Hide the description label when empty

11 years agoicon-browser: Don't crash on exit
Matthias Clasen [Tue, 29 Jul 2014 12:50:10 +0000 (14:50 +0200)]
icon-browser: Don't crash on exit

11 years agoicon-browser: Don't show empty categories
Matthias Clasen [Tue, 29 Jul 2014 12:07:54 +0000 (14:07 +0200)]
icon-browser: Don't show empty categories

We don't have any icons in International, so don't show the
category. And process-working is really just a theme asset,
so don't show that either.

11 years agoicon-browser: Make the cell renderer follow state
Matthias Clasen [Tue, 29 Jul 2014 12:03:48 +0000 (14:03 +0200)]
icon-browser: Make the cell renderer follow state

This is very useful for symbolic icons.

11 years agoicon-browser: Hide the search icon until it works
Matthias Clasen [Tue, 29 Jul 2014 12:01:15 +0000 (14:01 +0200)]
icon-browser: Hide the search icon until it works

11 years agoinspector: Set a filename for saving css
Matthias Clasen [Tue, 29 Jul 2014 11:38:54 +0000 (13:38 +0200)]
inspector: Set a filename for saving css

This is good practice when using save dialogs.

11 years agowip: more icon browser rework
Matthias Clasen [Sun, 27 Jul 2014 11:44:41 +0000 (13:44 +0200)]
wip: more icon browser rework

11 years agowip: rework icon browser
Matthias Clasen [Sun, 27 Jul 2014 07:32:10 +0000 (09:32 +0200)]
wip: rework icon browser

11 years agogtkcairoblur: Blur a CAIRO_A8 surface instead of a full CAIRO_ARGB32
Jasper St. Pierre [Mon, 28 Jul 2014 20:04:05 +0000 (22:04 +0200)]
gtkcairoblur: Blur a CAIRO_A8 surface instead of a full CAIRO_ARGB32

This is considerably faster to draw and paint.

11 years agogtkcssshadowvalue: Use the blur surface as a mask, instead of painting it
Jasper St. Pierre [Mon, 28 Jul 2014 20:04:09 +0000 (22:04 +0200)]
gtkcssshadowvalue: Use the blur surface as a mask, instead of painting it

This will make it easier to use an A8 for our blurred surface instead of
a ARGB32, which makes things a lot easier and faster.

11 years agoiconhelper: reset original pixbuf scale on clear
Cosimo Cecchi [Wed, 23 Jul 2014 04:27:59 +0000 (21:27 -0700)]
iconhelper: reset original pixbuf scale on clear

Avoids a previously set value for a different image to accidentally
stick around.

https://bugzilla.gnome.org/show_bug.cgi?id=733416

11 years agoimage: support scale factor when loading from GResource and file
Cosimo Cecchi [Sat, 19 Jul 2014 20:03:58 +0000 (13:03 -0700)]
image: support scale factor when loading from GResource and file

Currently, when loading an image from a GResource or file we don't take
the scale factor of the display into consideration, and let
GtkIconHelper scale it accordingly.
While this in general works for non-scalable images, we can take
advantage of the native loader's scaling for e.g. SVG images, and load
them at the right scale factor automatically.
This is achieved by switching to a pixbuf loader instead of using the
native function.

https://bugzilla.gnome.org/show_bug.cgi?id=733416

11 years agoW32: Implement rudimentary WM_NCHITTEST handling
Руслан Ижбулатов [Thu, 24 Jul 2014 16:27:09 +0000 (16:27 +0000)]
W32: Implement rudimentary WM_NCHITTEST handling

Use (cairo) input shape of the window to check whether a point is inside or not
inside the window.
If it is, let the default window procedure do its thing (which seems to be
working all right in all known cases).
If it isn't, override the default window procedure and tell WM what we think.

Don't do any of the above if the window has CSD-incompatible styles (WS_BORDER
or WS_THICKFRAME).

This is a crude kind of substitute for window input shape support (which W32
does not seem to have). Still probably enough to be positive about input shapes
support.

https://bugzilla.gnome.org/show_bug.cgi?id=733679

11 years agoUpdate testtextview.c to use draw_layer
Alexander Larsson [Mon, 28 Jul 2014 19:19:31 +0000 (21:19 +0200)]
Update testtextview.c to use draw_layer

This fixes a regression in the test from the revert in
commit 4fe051bb4a017d2840f2b0f4299512971f17a837.

11 years agotextview: Add draw_layer vfunc
Alexander Larsson [Mon, 28 Jul 2014 13:20:52 +0000 (15:20 +0200)]
textview: Add draw_layer vfunc

This allows subclasses to render things below and above the text
in the text view. This allows e.g. GtkSourceView to highlight the
cursor row and to render overlays for colum 80. This used to be done
by rendering before/after chaining up to the parent, but that doesn't
work anymore since the view now renders a background, and due to the
use of the pixel cache.

11 years agoRevert "GtkTextView: Fix regression in GtkSourceView drawing"
Alexander Larsson [Sun, 27 Jul 2014 13:41:01 +0000 (15:41 +0200)]
Revert "GtkTextView: Fix regression in GtkSourceView drawing"

This reverts commit 1ac13435b7c14dd9b97ad7a9d292acd51337d66e.

We want to instead replace this with special vfunc for drawing
below/above the main text so that gtksourceview can use it.

11 years agoAdwaita: fix a typo
Lapo Calamandrei [Mon, 28 Jul 2014 13:34:03 +0000 (15:34 +0200)]
Adwaita: fix a typo

11 years agoAdwaita: button drawing function rework...
Lapo Calamandrei [Mon, 28 Jul 2014 10:42:23 +0000 (12:42 +0200)]
Adwaita: button drawing function rework...

...to take colored buttons into considerations, so buttons on
colored background works better now (infobars and the like).

11 years agotextview: document text mark properties
Paolo Borelli [Mon, 28 Jul 2014 10:20:48 +0000 (12:20 +0200)]
textview: document text mark properties

11 years agoUpdated Brazilian Portuguese translation
Georges Neto [Mon, 28 Jul 2014 04:27:57 +0000 (04:27 +0000)]
Updated Brazilian Portuguese translation

11 years agoAdwaita: remove shadows from progressbars
Jakub Steiner [Sun, 27 Jul 2014 11:39:02 +0000 (13:39 +0200)]
Adwaita: remove shadows from progressbars

11 years agoUpdated Lithuanian properties translation
Aurimas Černius [Sat, 26 Jul 2014 21:48:53 +0000 (00:48 +0300)]
Updated Lithuanian properties translation

11 years agogdkdevice-wayland: Fix compile warnings
Jasper St. Pierre [Sat, 26 Jul 2014 13:46:56 +0000 (09:46 -0400)]
gdkdevice-wayland: Fix compile warnings

These are signed, not unsigned.

11 years agoicon-browser: Add open-menu to the list
Matthias Clasen [Fri, 25 Jul 2014 18:41:55 +0000 (14:41 -0400)]
icon-browser: Add open-menu to the list

11 years agowayland-device: Upgrade to v4 of seat
Jasper St. Pierre [Fri, 25 Jul 2014 13:37:06 +0000 (09:37 -0400)]
wayland-device: Upgrade to v4 of seat

Get our keyboard repeat info from the server.

11 years agowayland-device: Upgrade to v3 of seat
Jasper St. Pierre [Fri, 25 Jul 2014 13:41:48 +0000 (09:41 -0400)]
wayland-device: Upgrade to v3 of seat

To prevent memory leaks.

11 years agowayland-device: Handle v2 of seat
Jasper St. Pierre [Fri, 25 Jul 2014 13:38:22 +0000 (09:38 -0400)]
wayland-device: Handle v2 of seat

11 years agowayland-device: Refactor a bit
Jasper St. Pierre [Fri, 25 Jul 2014 13:32:55 +0000 (09:32 -0400)]
wayland-device: Refactor a bit

Delay the keyboard settings creation until we're delivering the key
press. This means we don't have to create the settings for a server that
sends us repeat information.

11 years agowayland-device: Reindent
Jasper St. Pierre [Fri, 25 Jul 2014 13:27:22 +0000 (09:27 -0400)]
wayland-device: Reindent

11 years agoa11y: unref selected item only if it is not NULL
Alejandro Piñeiro [Wed, 23 Jul 2014 15:56:59 +0000 (17:56 +0200)]
a11y: unref selected item only if it is not NULL

https://bugzilla.gnome.org/show_bug.cgi?id=733610

11 years agoRemove gdk_win32_input_shape_combine_region()
Руслан Ижбулатов [Thu, 24 Jul 2014 13:41:51 +0000 (13:41 +0000)]
Remove gdk_win32_input_shape_combine_region()

This function currently calls gdk_win32_window_shape_combine_region(),
which is wrong, because it leads to SetWindowRgn() being called with
non-NULL region, which makes W32 disable theming (particularly - decoration
theming), which makes decorations revert back to old GDI-drawn Windows 2000
variant, which looks out of place and interacts *badly* with alpha channel
(because GDI).

https://bugzilla.gnome.org/show_bug.cgi?id=733671

11 years agoinspector: Show the buildable ID in the misc tab
Matthias Clasen [Thu, 24 Jul 2014 12:29:12 +0000 (08:29 -0400)]
inspector: Show the buildable ID in the misc tab

This is useful, since you sometimes want to use it as #id in css.

11 years agoinspector: Prepare misc tab for showing non-widgets
Matthias Clasen [Thu, 24 Jul 2014 12:14:54 +0000 (08:14 -0400)]
inspector: Prepare misc tab for showing non-widgets

This will happen in the near future.

11 years agotesttreemodel: fix unused variable on windows
Ignacio Casal Quinteiro [Thu, 24 Jul 2014 06:34:02 +0000 (08:34 +0200)]
testtreemodel: fix unused variable on windows

11 years agowin32: remove set but not used variables
Ignacio Casal Quinteiro [Wed, 23 Jul 2014 21:27:46 +0000 (23:27 +0200)]
win32: remove set but not used variables

11 years agoGtkPlacesSidebar: Fix editing of bookmarks
Matthias Clasen [Wed, 23 Jul 2014 18:11:22 +0000 (14:11 -0400)]
GtkPlacesSidebar: Fix editing of bookmarks

This was silently broken - the code was just assuming that the
text cell renderer is item no. 6 on the list of all cells. That
doesn't work so well if the cell renderers are set up elsewhere
and get rearranged.

Fix this by keeping an explicit pointer to the the text cell.

11 years agoGtkPathBar: Use symbolic icons
Matthias Clasen [Wed, 23 Jul 2014 17:39:38 +0000 (13:39 -0400)]
GtkPathBar: Use symbolic icons

This fits better with the symbolic icons we use in the places
sidebar now.

11 years agoGktFileSystem: Support rendering symbolic icons
Matthias Clasen [Wed, 23 Jul 2014 17:39:23 +0000 (13:39 -0400)]
GktFileSystem: Support rendering symbolic icons

11 years agoreftest: Add reftest for CSS sizing fix
Benjamin Otte [Wed, 23 Jul 2014 16:50:28 +0000 (18:50 +0200)]
reftest: Add reftest for CSS sizing fix

The test uses a GtkBox for rendering the background, but it could use
any other widget that is not used in the reference.

11 years agocssimage: Fix size computation for -gtk-icontheme()
Benjamin Otte [Wed, 23 Jul 2014 16:40:55 +0000 (18:40 +0200)]
cssimage: Fix size computation for -gtk-icontheme()

For images without a concrete size but with an aspect ratio, we took the
wrong code path.

(I even copied the documentation that said "Otherwise" but didn't put an
else clause there, go me!)

11 years agoGtkPathBar: Set style classes on buttons
Matthias Clasen [Wed, 23 Jul 2014 16:42:27 +0000 (12:42 -0400)]
GtkPathBar: Set style classes on buttons

Set text-button/image-button on these, just like we do for
buttons everywhere else.

11 years agoGtkPathBar: Don't use GtkArrow
Matthias Clasen [Wed, 23 Jul 2014 16:42:08 +0000 (12:42 -0400)]
GtkPathBar: Don't use GtkArrow

Instead, use an image button.

11 years agoAdwaita: spinbutton button hover visible on the dark variant
Lapo Calamandrei [Wed, 23 Jul 2014 15:53:31 +0000 (17:53 +0200)]
Adwaita: spinbutton button hover visible on the dark variant

11 years agoAdwaita: entry icons position fix
Lapo Calamandrei [Wed, 23 Jul 2014 13:25:22 +0000 (15:25 +0200)]
Adwaita: entry icons position fix

11 years agoAdwaita: backdrop check/radio fix
Lapo Calamandrei [Wed, 23 Jul 2014 11:31:05 +0000 (13:31 +0200)]
Adwaita: backdrop check/radio fix

Set the correct color wrt the dark variant for checks/radios on
selected treeview rows.

11 years agoAdwaita: GtkCalendar style simplification
Lapo Calamandrei [Wed, 23 Jul 2014 11:26:36 +0000 (13:26 +0200)]
Adwaita: GtkCalendar style simplification